﻿#pragma once
#include <QtWidgets/QMainWindow>

#include <QVTKOpenGLNativeWidget.h>
#include <pcl/point_types.h>
#include <pcl/visualization/pcl_visualizer.h>
#include <pcl/visualization/cloud_viewer.h>


class VTKPCL : public QMainWindow
{
    Q_OBJECT

public:
    VTKPCL(QWidget *parent = nullptr);
    ~VTKPCL();

    pcl::visualization::PCLVisualizer::Ptr viewer;
    pcl::PointCloud<pcl::PointXYZ>::Ptr cloud;
private:
    QVTKOpenGLNativeWidget* vtkWidget;
};
